package xinyou.jh.net.login
{
	import xinyou.jh.net.SocketManager;
	import xinyou.jh.net.JHSender;
	import xinyou.net.SocketConnection;
	
	public class LoginSender extends JHSender
	{
		public function LoginSender(socket:SocketConnection)
		{
			super(socket);
		}
		public function checkVersion():void
		{
			send([10,2],1,2,0,"0.0.0.0");
		}
		public function login(username:String,pwd:String):void
		{
			send([10,4],0,username,pwd);
		}
	}
}